#ifndef __MAIN_H__
#define __MAIN_H__

using namespace std;

#ifdef _DEBUG

#pragma comment( lib, "Network_d.lib" )
#pragma comment( lib, "Utility_d.lib" )
#pragma comment( lib, "ProgramCommonLibForEngine_d.lib" )
#pragma comment( lib, "WzFilePacker_Static.lib")
#pragma comment( lib, "ProgramCommon_d.lib" )
#pragma comment( lib, "ServerCommon_d.lib" )
#pragma comment( lib, "SimpleModulus_d.lib" )
#pragma comment( lib, "WzWriteLogMgr_Static_d.lib" )

#else

#pragma comment( lib, "Network.lib" )
#pragma comment( lib, "Utility.lib" )
#pragma comment( lib, "ProgramCommonLibForEngine.lib" )
#pragma comment( lib, "WzFilePacker_Static.lib")
#pragma comment( lib, "ProgramCommon.lib" )
#pragma comment( lib, "ServerCommon.lib" )
#pragma comment( lib, "SimpleModulus.lib" )
#pragma comment( lib, "WzWriteLogMgr_Static.lib" )

#endif




BOOL InitSolarConsole();
VOID ReleaseSolarConsole();
BOOL GetCommandLineArg( int idx, char *szCommandLine, char *pszTargetBuf, int nMaxBufSize );
BOOL ParseArguments( char *lpCmdLine );

#endif	//__MAIN_H__